package com.zxst.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zxst
 * @since 2025-06-24
 */
@Data
public class Orders implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单编号
     */
    @TableId(value = "oid", type = IdType.AUTO)
    private Integer oid;

    /**
     * 支付金额
     */
    private Double total;

    /**
     * 购买数量
     */
    private Integer num;

    /**
     * 购买用户
     */
    private Integer mFk;

    /**
     * 购买商品
     */
    private Integer gFk;
}
